Application.MenuBar Property

Syntax

MenuBar as MenuItem


Represents the application's global menubar. Its children are the menus.

You can replace the entire menubar by assigning a new MenuItem to MenuBar. Each Window can have a menubar assigned to it via its MenuBar property. If no menubar is assigned to the window, the application's menubar is used.